<%@ page contentType="text/xml; charset=UTF-8" language="java" import="java.util.*" pageEncoding="UTF-8" %>
<% 

	Object title = request.getAttribute("title");
	Object title_enabled = request.getAttribute("title_enabled");
	Object title_font_size = request.getAttribute("title_font_size");
	Object animation = request.getAttribute("animation");
	Object maxCount = request.getAttribute("maxCount");
	Object minCount = request.getAttribute("minCount");
	Object num = request.getAttribute("num");
	Object dataTemp = request.getAttribute("dataTemp");
%>
<anychart>

<settings>
    <animation enabled="<%=animation %>" start_time="0" duration="1" interpolation_type="Elastic"/>
  </settings>

<margin all="0" />
	<gauges>
		<gauge>
			<chart_settings>
				<chart_background enabled="true">
						<border type="Solid" color="#FAFAFA" thickness="0"/>
						<corners type="Square"/>
						<effects enabled="false"/>
						<inside_margin all="10" top="5"/>
					</chart_background>
		 			
			 <title enabled="<%=title_enabled%>" position="top" >       <!-- position 位置字段  -->
		 			<font  size="<%=title_font_size %>">  <!--  color="green" family="华文行楷" -->
						<effects> 
							<drop_shadow enabled="true" distance="2" opacity="0.5" blur_x="2" blur_y="2"></drop_shadow>
						</effects>
					</font>
			<text><%=title %> </text>
		 </title>
			</chart_settings>
			
			<circular>
				<axis radius="48" size="3">
					<scale minimum="<%=minCount%>" maximum="<%=maxCount%>" major_interval="<%=num %>" /> <!-- minor_interval="2" -->
							<scale_bar enabled="true" shape="Bar" width="5">
							</scale_bar>
							<labels>
								<format>{%Value}{numDecimals:0}</format>
							</labels>
						</axis>
				<frame>
						<inner_stroke thickness="2"/>
						<effects enabled="true">
							<drop_shadow enabled="true" opacity="0.5" blur_x="5" blur_y="5"/>
						</effects>
					</frame>
				<pointers>
					<%=dataTemp%>
				</pointers>
			</circular>			
		</gauge>
	</gauges>
</anychart>